<extend name="Public:comment" />

<block name="title">个人中心</block>

<block name="css">
	<link rel="stylesheet" href="/Application/Home/Common/css/base.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_common.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_header.css" type="text/css" />
	<link rel="stylesheet" href="/Application/Home/Common/css/shop_manager.css" type="text/css" />
</block>

<block name="js">
	<script type="text/javascript" src="/Application/Home/Common/js/jquery.js" ></script>
    <script type="text/javascript" src="/Application/Home/Common/js/topNav.js" ></script>
</block>

<block name="shouye">
	<div id="shop_hd_menu_all_category" class="shop_hd_menu_all_category"><!-- 首页去掉 id="shop_hd_menu_all_category" 加上clsss shop_hd_menu_hover -->
</block>

<block name="content">
	<!-- 面包屑 注意首页没有 -->
	<div class="shop_hd_breadcrumb">
		<strong>当前位置：</strong>
		<span>
			<a href="{:U('Index/index')}">首页</a>&nbsp;›&nbsp;
			<a href="{:U('User/member')}">我的商城</a>&nbsp;›&nbsp;
			<a href="{:U('User/member')}">已买到商品</a>
		</span>
	</div>
	<div class="clear"></div>
	<!-- 面包屑 End -->

	<!-- Header End -->	

	<!-- 我的个人中心 -->
	<div class="shop_member_bd clearfix">
		<!-- 左边导航 -->
		<div class="shop_member_bd_left clearfix">
			
			<div class="shop_member_bd_left_pic">
				<a href="javascript:void(0);"><img src="/Application/Home/Common/images/avatar.png" /></a>
			</div>
			<div class="clear"></div>

			<dl>
				<dt>我的交易</dt>
				<dd><span><a href="{:U('member')}">已购买商品</a></span></dd>
				<dd><span><a href="{:U('Index/favorite')}">我的收藏</a></span></dd>
				<dd><span><a href="{:U('estimate')}">评价管理</a></span></dd>
			</dl>
			</dl>

			<dl>
				<dt>我的账户</dt>
				<dd><span><a href="{:U('member_info')}">个人资料</a></span></dd>
				<dd><span><a href="{:U('password_edit')}">密码修改</a></span></dd>
				<dd><span><a href="{:U('address')}">收货地址</a></span></dd>
			</dl>

		</div>
		<!-- 左边导航 End -->
		
		<!-- 右边购物列表 -->
		<div class="shop_member_bd_right clearfix">
			
			<div class="shop_meber_bd_good_lists clearfix">
				<div class="title"><h3>订单列表</h3></div>
				<table>
					<thead class="tab_title">
						<th style="width:410px;"><span>商品信息</span></th>
						<th style="width:100px;"><span>单价</span></th>
						<th style="width:80px;"><span>数量</span></th>
						<th style="width:100px;"><span>订单总价</span></th>
						<th style="width:115px;"><span>状态与操作</span></th>
					</thead>
					<tbody>

						<tr><td colspan="5">
							<table class="good">
								<thead >
									<tr><th colspan="6">
										<span><strong>订单号码：</strong>2013032905510051</span>
									</th></tr>
								</thead>
								<tbody>
									<foreach name="res" item="v">
									<tr>
										<td class="dingdan_pic"><img src="/Uploads/{$v['pic']|substr=###,0,28}" /></td>
										<td class="dingdan_title"><span><a href="">{$v.goods}</a></span>
										<br />{$v.size}</td>
										<td class="dingdan_danjia">￥<strong>{$v.cost}</strong></td>
										<td class="dingdan_shuliang">{$v.num}</td>
										<td class="dingdan_zongjia">￥<strong>{$v.total}</strong><br />(免运费)</td>
										<td class="digndan_caozuo">
										<eq name="v['pay']" value="1">已付款
										<else/>
										<a href="{:U('')}">等待买家付款</a>
										</eq>
										</td>
									</tr>
									</foreach>
								</tbody>
							</table>
						</td></tr>
					</tbody>
				</table>
			</div>
		</div>
		<!-- 右边购物列表 End -->

	</div>
	<!-- 我的个人中心 End -->
</block>